Diffuse
Simulate diffusion like simulation.
Node Data | |
|---|---|
Display name | |
Diffuse | |
Internal name | |
Node_Diffuse | |
Inheritances | |
| Node_Diffuse | |
Inputs | |
surface |
Density Field |
Diffuse | |
slider |
Dissipation |
int |
Iteration |
Flow | |
float |
Scale |
int |
Detail |
float |
Randomness |
slider |
Flow Rate |
surface |
Flow Map |
Forces | |
enum |
External Type |
surface |
External Force |
vec2 |
Position |
float |
Radius |
slider |
Strength |
rotation |
Direction |
Rendering | |
range |
Threshold |
Outputs | |
surface |
Result |
Attributes | |
| Color Depth | |
| Oversample | |

Diffuse node spread out bright pixel with some turbulence to create a smoke effect. This node is designed to work with the feedback system.

Properties
| Diffuse | |
| Dissipation | The amount of pixel faded away per frame. |
| Iteration | Amount of iteration. |
| Flow | |
| Scale | Scale of the turbulence effect. |
| Detail | Amount of iteration to apply turbulence. |
| Randomness | Frequency of seed change |
| Flow Rate | Flow intensity |
| Forces | |
| External Strength | Apply external force in/out of the middle point. |
| Rendering | |
| Threshold | Apply threshold after each step. |
Commit History
| 1.16.4 |
|
|---|
Related Links
- Base Code: /scripts/node_diffuse/node_diffuse.gml
- Shader [sh_diffuse_post]: /shaders/sh_diffuse_post/sh_diffuse_post.fsh
- Shader [sh_diffuse_flow]: /shaders/sh_diffuse_flow/sh_diffuse_flow.fsh
- Shader [sh_diffuse_dissipate]: /shaders/sh_diffuse_dissipate/sh_diffuse_dissipate.fsh